<template>
  <div class="demo-split">
    <CySplit v-model="split">
      <template #left>
        <div class="demo-split-pane">
          Left Pane
        </div>
      </template>
      <template #right>
        <div class="demo-split-pane">
          Right Pane
        </div>
      </template>
    </CySplit>
  </div>
</template>

<script setup>
// import CySplit from '@/components/split/split.vue'
import { ref } from 'vue'
const split = ref(0.5)
</script>

<style lang="scss" scoped>
.demo-split {
  border: 1px solid #dcdee2;
  height: 50vh;
  width:50%;
}

.demo-split-pane {
  padding: 10px;
}
</style>